package com.java.demo4;

public class Demo {
    /*
     * 子类所有的构造方法默认都会访问父类的无参构造方法
     *
     * */
    public static void main(String[] args) {
        Student s1 = new Student();
        System.out.println("============");
        Student s2 = new Student(11);
    }
}
